*,*:before,*:after {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
}
body, html {
    width: 100%;
	height:100%;
}
html {
    -webkit-text-size-adjust: 100%;
    -moz-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    text-size-adjust: 100%;
}
body {
    margin: 0;
    position: fixed;
    max-height: 100%;
    -webkit-font-smoothing: antialiased;
    font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    -webkit-user-drag: none;
    -ms-content-zooming: none;
    touch-action: manipulation;
    word-wrap: break-word;
    -webkit-text-size-adjust: none;
    -moz-text-size-adjust: none;
    -ms-text-size-adjust: none;
    text-size-adjust: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
	font-size:0.24rem;
	background:#fafafa;
}
.ui-page{
	height: 100%;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-flex-direction: column;

    margin: 0 auto;
    max-width: 750px;
    min-width: 300px;
}
.ui-content{
	position:relative;
	width: 100%;
    height: 100%;
    -webkit-box-flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    will-change: scroll-position;
    contain: size style layout;
}
.ui-header{
    background-color: rgba(255, 255, 255, 0.98);
}
.ui-footer{
	background-color: rgba(255, 255, 255, 0.96);
}
/*布局*/
/*ui-row*/
.ui-row {
    display: block;
    overflow: hidden;
}
.ui-row::before,
.ui-row::after,
.ui-clearfix::before,
.ui-clearfix::after
{
    display:table;
    content:'';
    clear: both;
}
.ui-col-10 {
    float:left;
    width: 10%;
}

.ui-col-20 {
    float:left;
    width: 20%;
}

.ui-col-25 {
    float:left;
    width: 25%;
}

.ui-col-30 {
    float:left;
    width: 30%;
}

.ui-col-33 {
    float:left;
    width: 33.3333%;
}

.ui-col-40 {
    float:left;
    width: 40%;
}

.ui-col-50 {
    float:left;
    width: 50%;
}

.ui-col-60 {
    float:left;
    width: 60%;
}

.ui-col-67 {
    float:left;
    width: 66.6666%;
}

.ui-col-70 {
    float:left;
    width: 70%;
}

.ui-col-75 {
    float:left;
    width: 75%;
}

.ui-col-80 {
    float:left;
    width: 80%;
}

.ui-col-90 {
    float:left;
    width: 90%;
}
.ui-col-100{
    float:left;
    width:100%;
}



.ui-row-layout-2>.ui-left{
    float:left;
}
.ui-row-layout-2>.ui-right{
    width:auto;
    overflow:hidden;
}


/*float*/
.ui-pull-left{
    float:left;
}
.ui-pull-right{
    float:right;
}

/*text-align*/
.ui-text-left{
    text-align:left;
}
.ui-text-center{
    text-align:center;
}
.ui-text-right{
    text-align:right;
}


/*ui-box*/
.ui-box {
    display: -webkit-box;
}
.ui-box-ver {
    -webkit-box-orient: vertical;
}
.ui-col {
    -webkit-box-flex: 1;
}
.ui-col-2 {
    -webkit-box-flex: 2;
}
.ui-col-3 {
    -webkit-box-flex: 3;
}
.ui-col-4 {
    -webkit-box-flex: 4;
}



.ui-box-pack-start {
    -webkit-box-pack: start;
}

.ui-box-pack-end {
    -webkit-box-pack: end;
}

.ui-box-pack-center {
    -webkit-box-pack: center;
}

.ui-box-align-start {
    -webkit-box-align: start;
}

.ui-box-align-end {
    -webkit-box-align: end;
}

.ui-box-align-center {
    -webkit-box-align: center;
}

/*ui-flex*/
.ui-flex{
    display: -webkit-flex;
}
/*flex-direction*/
/*默认*/
.ui-flex-row{
    flex-direction: row;
}
.ui-flex-row-reverse{
    flex-direction: row-reverse;
}
.ui-flex-column{
    flex-direction: column;
}
.ui-flex-column-reverse{
    flex-direction: column-reverse;
}
/*flex-wrap*/
/*默认*/
.ui-flex-nowrap{
    flex-wrap:nowrap;
}
.ui-flex-wrap{
    flex-wrap:wrap;
}
.ui-flex-wrap-reverse{
    flex-wrap:wrap-reverse;
}
/*flex-justify*/
/*默认*/
.ui-flex-justify-start{
    justify-content: flex-start;
}
.ui-flex-justify-end{
    justify-content: flex-end;
}
.ui-flex-justify-center{
    justify-content: center;
}
.ui-flex-justify-space-between{
    justify-content: space-between;
}
.ui-flex-justify-space-around{
    justify-content: space-around;
}
/*flex-align*/
/*默认*/
.ui-flex-align-stretch{
    align-items:stretch;
}
.ui-flex-align-start{
    align-items: flex-start;
}
.ui-flex-align-end{
    align-items: flex-end;
}
.ui-flex-align-center{
    align-items: center;
}
.ui-flex-align-baseline{
    align-items:baseline;
}

/*ellipsis*/
.ui-ellipsis{
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 1; /* number of lines to show */
    -webkit-box-orient: vertical;
}
.ui-ellipsis-2{
    -webkit-line-clamp:2;
}
.ui-ellipsis-3{
    -webkit-line-clamp: 3;
}
.ui-ellipsis-4{
    -webkit-line-clamp: 4;
}
